package math.vectorSpace.R2;

public class Circle2D {
	
	private Point2D center;
	private double radius;
	
	public Circle2D(Point2D center, double radius){
		this.center = center;
		this.radius = radius;
	}
	
	public Circle2D(double x, double y, double radius){
		this(new Point2D(x, y), radius);
	}
	
	public Point2D getCenter(){
		return center;
	}
	
	public double getX(){
		return center.getX();
	}
	
	public double getY(){
		return center.getY();
	}
	
	public double getRadius(){
		return radius;
	}

}
